package com.jdym.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 上传资料
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Uploadfile对象", description="上传资料")
public class Uploadfile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上传资料id")
      @TableId(value = "upFileid", type = IdType.AUTO)
    private Integer upfileid;

    @ApiModelProperty(value = "路径")
    @TableField("upFile_url")
    private String upfileUrl;

    @ApiModelProperty(value = "抵押物")
    private String pawn;

    private LocalDateTime uploadtime;

    @ApiModelProperty(value = "身份证正面")
    private String identity1;

    @ApiModelProperty(value = "身份证反面")
    private String identity2;

    @ApiModelProperty(value = "企业id")
    private Integer firmId;

    @ApiModelProperty(value = "六月流水账")
    private String currentAccount;

    @ApiModelProperty(value = "工作证明")
    private String certificate;

    @ApiModelProperty(value = "征信报告")
    private String creditReport;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value="贷款id")
    private Integer loanid;

        private Firm firm;

    private Pledge pledge;

    @TableField(value="pledge_id")
    private int pledgeId;
    @TableField(exist = false)
    private String firmName;
    @TableField(exist = false)
    private String firmTel;

    @ApiModelProperty(value = "抵押凭证")
    @TableField(exist = false)
    private String Voucher;

    @ApiModelProperty(value = "状态")
    @TableField(exist = false)
    private int pledgeStatus;


}
